.Net Framework > v2.0.50727 > System > DateTime > TryParseExact TryParseExact(String,String,IFormatProvider,DateTimeStyles,DateTime@)
TryParseExact(String,String[],IFormatProvider,DateTimeStyles,DateTime@)


TryParseExact(String,String,IFormatProvider,DateTimeStyles,DateTime@)

Category
Method
Description
Converts the specified string representation of a date and time to its System.DateTime equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
sString
formatString
providerIFormatProvider
styleDateTimeStyles
resultDateTime
Tags
01892ABD01, 02E3ABA98D, 0376596F91

TryParseExact(String,String[],IFormatProvider,DateTimeStyles,DateTime@)

Category
Method
Description
Converts the specified string representation of a date and time to its System.DateTime equivalent using the specified array of formats, culture-specific format information, and style. The format of the string representation must match at least one of the specified formats exactly.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
sString
formatsString[]
providerIFormatProvider
styleDateTimeStyles
resultDateTime
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database